<?php
declare (strict_types = 1);

namespace app\admin\controller;
use app\BaseController;
use think\facade\Db;
use think\facade\view;

class Index extends BaseController
{
    public function index()
    {
        return view();
    }

    public function info()
    {
        $info=Db::table('ecm_program')->find(1);
        View::assign('info',$info);
        return view();
    }

    public function pass()
    {
        return view();
    }

    public function adv()
    {
        $adv=Db::table('ecm_banner')->select();
        View::assign('adv',$adv);
        return view();
    }
}
